home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 65.zip / BS1 part 65 / Math Visin v2.1 disk 2.adf / DataTemplates / 1d_Array next >
Text File  |  1992-02-14  |  794b  |  38 lines

  1. ! 1d_Array    one dimensional array with count at top
  2. ! scaling must be included in this template, assigned to Low and High
  3. !
  4. !-------------------------------- Prototype of data file --------------------
  5. ! elements
  6. ! data
  7. ! data 
  8. ! data
  9. ! data
  10. !-------------------------------- Example of data file -----------------------
  11. ! 5    ! 5 elements
  12. ! 4.3  ! actual data
  13. ! 3.4 
  14. ! 5.6
  15. ! 1.2
  16. ! 6.7
  17. !--------------------------------
  18.  
  19. Define Elements Integer
  20. Define Low Real
  21. Define High Real
  22.  
  23. !--------------------------------- Insert Scaling Here -----------------------
  24. Read Elements
  25. Assign Low  0.0
  26. Assign High 1.0
  27. !-----------------------------------------------------------------------------
  28.  
  29.  
  30. BeginStructure
  31.   DefArray Elements Low High
  32.       DefDataType IEEE8
  33.   EndArray
  34. EndStructure
  35.  
  36. RecurseRead
  37.  
  38.